import enLocale from 'element-plus/lib/locale/lang/en';

const en = {
  [enLocale.name]: {
    el: enLocale.el,
    message: {
      hello: 'hello world',
    },
    common: {
      submit: 'submit',
      cancel: 'cancel',
      detail: 'detail',
      delete: 'delete',
      edit: 'edit',
      operation: 'operation',
      save: 'save',
    },
    rootPage: {
      chinalang: 'chinese',
      englishlang: 'english',
      loginoutText: 'login out',
      about: 'about us',
      help: 'help book',
      databaseManagement: 'database management',
      dataList: 'data list',
      newdatasource: 'new data source',
      newQueryWindow: 'new query window',
    },
    loginPage: {
      account: 'account',
      password: 'password',
      placeholderAccount: 'please input account',
      placeholderPassword: 'please input password',
      forgetPassWord: 'forget passWord',
      signIn: 'sign in',
      forgetPassword: 'forget password',
      forgetPasswordTip: 'please contact system administrator',
      accountEmptyTip: 'account can not be empty',
      passwordEmptyTip: 'password can not be empty',
      welcomeLogin: 'log in to iotdb database management',
    },

    sourcePage: {
      alias: 'alias',
      host: 'hist',
      port: 'port',
      username: 'username',
      password: 'password',
      addDialogTitle: 'newAlias',
      editDialogTitle: 'editAlias',
      eg: 'example:127.0.0.1',
      aliasEmptyTip: 'alias can not be empty',
      hostEmptyTip: 'host can not be empty',
      portEmptyTip: 'port can not be empty',
      usernameEmptyTip: 'username can not be empty',
      passwordEmptyTip: 'password can not be empty',
      userAccount: 'user account',
      newAccount: 'new account',
      baseConfig: 'base config',
      accountPermit: 'account permit',
      userNameTitle: 'username:',
      passwordTitle: 'password:',
      groupInfo: 'group info',
      groupName: 'group name',
      description: 'description',
      line: 'line',
      path: 'path',
      range: 'range',
      func: 'function',
      selectAlias: 'alias',
      selectGroup: 'group',
      selectDevice: 'device',
      selectTime: 'time series',
      createGroup: 'SET_STORAGE_GROUP',
      createUser: 'CREATE_USER',
      deleteUser: 'DELETE_USER',
      editPassword: 'MODIFY_PASSWORD',
      listUser: 'LIST_USER',
      grantPrivilege: 'GRANT_USER_PRIVILEGE',
      revertPrivilege: 'REVOKE_USER_PRIVILEGE',
      createTimeSeries: 'CREATE_TIMESERIES',
      insertTimeSeries: 'INSERT_TIMESERIES',
      readTimeSeries: 'READ_TIMESERIES',
      deleteTimeSeries: 'DELETE_TIMESERIES',
      createTrigger: 'CREATE_TRIGGER',
      uninstallTrigger: 'DROP_TRIGGER',
      startTrigger: 'START_TRIGGER',
      stopTrigger: 'STOP_TRIGGER',
      createFunction: 'CREATE_FUNCTION',
      uninstallFunction: 'DROP_FUNCTION',
    },
    storagePage: {
      alias: 'alias',
      creator: 'creator',
      createTime: 'createTime:',
      ttl: 'ttl:',
      description: 'description',
      deviceName: 'device name:',
      newDevice: 'new device',
      line: 'line',
      operation: 'operation',
      secondLabel: 'second',
      minuteLabel: 'minute',
      hourLabel: 'hour',
      dayLabel: 'day',
      weekLabel: 'week',
      monthLabel: 'month',
      yearLabel: 'year',
      groupName: 'group name:',
      groupDescription: 'group description:',
      tips: 'tips:it means that ttl will infinite if you do not fill',
      ttlErrTips: 'ttl and ttl unit must be exist at the same time',
    },
    device: {
      devicename: 'device name',
      description: 'device description',
      group: 'storage group',
      physical: 'physical quantity',
      addphysical: 'add physical quantity',
      delete: 'delete',
      creator: 'creator',
      createTime: 'createTime',
      newValue: 'new value',
      deletecontent1: 'Are you sure you want to delete',
      deletecontent2: 'After deletion, the physical quantity data will be lost and cannot be recovered',
      cencel: 'cencel',
      ok: 'ok',
      physicalname: 'physical name',
      datatype: 'data type',
      codingmode: 'coding mode',
      physicaldescr: 'description of physical quantity',
      action: 'operation',
      datatrends: 'data trends',
    },
  },
};

export default en;
